<!--
  Generated template for the LoginPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar>
    <ion-title>登录</ion-title>
  </ion-navbar>

</ion-header>


<ion-content padding>

  <div class="login_form">
    <ion-item>
      <ion-label>用户名</ion-label>
      <ion-input type="text" placeholder="用户名" [(ngModel)]="user"></ion-input>
    </ion-item>
    <ion-item>
      <ion-label>密码</ion-label>
      <ion-input type="password" placeholder="密码" [(ngModel)]="pwd" ></ion-input>
    </ion-item>
    <button ion-button (tap)="login()">
      <ion-icon name="log-in"></ion-icon>
      登录
    </button>
    <button ion-button (tap)="regist()">
      注册
    </button>
  </div>

</ion-content>
